package com.summer.dynamicDataType;

public class TestDynamicData {
	public static void main(String[] args) {
		String a = "23";
		int b = 1;
		TestDataType t = new TestDynamicData().new TestDataType();
		
		DynamicData data = new DynamicData(a);
		DynamicData data1 = new DynamicData(b);
		DynamicData data2 = new DynamicData(t);
		String str = data.value();
		String str1 = data1.value();
		int numb = data.value();
		int numb1= data1.value();
		
		System.out.println(str+"+"+str1+"="+(numb+numb1));
	}
	
	public class TestDataType{
		
	}
}
